package com.gzbugu.polytechsasia.factory;

import com.gzbugu.polytechsasia.service.*;
import com.gzbugu.polytechsasia.service.impl.AddArticleService;
import com.gzbugu.polytechsasia.service.impl.DeleteArticleService;
import com.gzbugu.polytechsasia.service.impl.LoginService;
import com.gzbugu.polytechsasia.service.impl.ShowArticleService;
import com.gzbugu.polytechsasia.service.impl.UpdateArticleService;

/**
 * service factory
 * 
 * @author gauze
 * 
 */
public class ServiceFactory {

	public static IShowArticleService getShowArticleService() {
		return new ShowArticleService();
	}

    public static IAddArticleService getAddArticleService() {
        return new AddArticleService();
    }

    public static IDeleteArticleService getDeleteArticleService() {
        return new DeleteArticleService();
    }
    
    public static IUpdateArticleService getUpdateArticleService(){
    	return new UpdateArticleService() ;
    }
    
    public static ILoginService getLoginService(){
    	return new LoginService();
    }
}
